﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Atom.DAL.HIS;
using System.Data;
using Atom.Entity.Medicare.Model;
using Atom.Entity.Medicare;
using Atom.Entity.HIS;

namespace Atom.BLL.HIS
{
    public class CommonDataBLL : BaseBLL
    {
        public List<MedicarePaientEntity> GetAll(DateTime dtBegin, DateTime dtEnd, string inhosid)
        {
            return CreateDAL<CommonDataDAL>().GetAllPaient(dtBegin, dtEnd, inhosid);
        }

        /// <summary>
        /// 根据起止时间查询本次要传入的病案
        /// </summary>
        /// <param name="dtBegin"></param>
        /// <param name="dtEnd"></param>
        /// <returns></returns>
        public List<BAZAEntity> QueryBAZAEntityList(DateTime dtBegin, DateTime dtEnd, string inhosid)
        {
            return CreateDAL<CommonDataDAL>().QueryBAZAEntityList(dtBegin, dtEnd, inhosid);

        }

        public List<BAF1Entity> QueryBAF1EntityList(DateTime dtBegin, DateTime dtEnd, string inhosid)
        {
            return CreateDAL<CommonDataDAL>().QueryBAF1EntityList(dtBegin, dtEnd, inhosid);
        }

        public List<BAF2Entity> QueryBAF2EntityList(DateTime dtBegin, DateTime dtEnd, string inhosid)
        {
            return CreateDAL<CommonDataDAL>().QueryBAF2EntityList(dtBegin, dtEnd, inhosid);

        }

        public List<BAF3Entity> QueryBAF3EntityList(DateTime dtBegin, DateTime dtEnd, string inhosid)
        {
            return CreateDAL<CommonDataDAL>().QueryBAF3EntityList(dtBegin, dtEnd, inhosid);
        }

        public List<BAF4Entity> QueryBAF4EntityList(DateTime dtBegin, DateTime dtEnd, string inhosid)
        {
            return CreateDAL<CommonDataDAL>().QueryBAF4EntityList(dtBegin, dtEnd, inhosid);

        }

        public List<BAF5Entity> QueryBAF5EntityList(DateTime dtBegin, DateTime dtEnd, string inhosid)
        {
            return CreateDAL<CommonDataDAL>().QueryBAF5EntityList(dtBegin, dtEnd, inhosid);

        }

        public List<BAF9Entity> QueryBAF9EntityList(DateTime dtBegin, DateTime dtEnd, string inhosid)
        {
            return CreateDAL<CommonDataDAL>().QueryBAF9EntityList(dtBegin, dtEnd, inhosid);

        }


        public List<BAFAEntity> QueryBAFAEntityList(DateTime dtBegin, DateTime dtEnd, string inhosid)
        {
            return CreateDAL<CommonDataDAL>().QueryBAFAEntityList(dtBegin, dtEnd, inhosid);

        }

        public List<BAFBEntity> QueryBAFBEntityList(DateTime dtBegin, DateTime dtEnd, string inhosid)
        {
            return CreateDAL<CommonDataDAL>().QueryBAFBEntityList(dtBegin, dtEnd, inhosid);

        }

        public List<BAFCEntity> QueryBAFCEntityList(DateTime dtBegin, DateTime dtEnd, string inhosid)
        {
            return CreateDAL<CommonDataDAL>().QueryBAFCEntityList(dtBegin, dtEnd, inhosid);

        }

        public List<BAFDEntity> QueryBAFDEntityList(DateTime dtBegin, DateTime dtEnd, string inhosid)
        {
            return CreateDAL<CommonDataDAL>().QueryBAFDEntityList(dtBegin, dtEnd, inhosid);

        }





    }
}
